package org.javaboy.quartz_demo.service;

import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class HelloService {

    public void sayHello(String name) {
        System.out.println(new Date() + " >>> hello " + name);
    }

    public void sayHello2(String name,int age) {
        System.out.println(new Date() + " >>> hello2 " + name + " >>> " + age);
    }
}
